import  Cookies  from 'js-cookie';
//import config from './config';
const TokenKey: string = "QwQ";
//const domain: string = config.domain

export let token_prefix = "QwQ ";

export function getToken(){
    return Cookies.get(TokenKey)
}
export function getTokenPrefix(){
    return token_prefix;
}
export function setToken(token:string){
    return Cookies.set(TokenKey,token)
}

export function removeToken(){
    return Cookies.remove(TokenKey)
}